package brickdestroyer.simulation;

/**
 * This interface offers the possibility to monitor
 * the simulation.
 * 
 * @author Momchil Atanasov
 */
public interface SimulationListener {

    /**
     * This method get's invoked when a state change has occured
     * in the simulation.
     * @see SimulationState
     * @param state new state of the simulation
     */
    public void onSimulationStateChanged(SimulationState state);

}
